package com.mkjb.repository;

import com.mkjb.entity.Customer;
import com.mkjb.entity.Permission;
import com.mkjb.utils.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper {
    List<Permission> getList(Page listDto);

    List<Permission> getPermissionListByRoleUuid(String roleUuid);

    Customer findByUuid(String uuid);

    void save(Permission permission);

    void update(Permission permission);

    void delete(String uuid);
}
